﻿@{
    ViewBag.Title = "Taquillero";
    Layout = "~/Views/Shared/_LayoutLimpio.cshtml";
}

@model TicketsPhone.Web.Models.TaquilleroModel
      
      <table width="100%">
        <tr class="tiqTitulo" >
            <td align="center"  >Caja</td>
            <td align="center" >Turno</td>
        </tr>
        @foreach (TicketsPhone.Domain.Models.CajeroActivo cajero in Model.cajerosActivos)
           {
               string color = cajero.IdTurno == 0 ? "tiqTurnoInactivo" : "tiqTurnoActivo";
               <tr>
                <td align="center" class="tiqCaja">@cajero.NumCaja</td>
                <td align="center" class="@color">@cajero.IdTurno</td>
               </tr>
           }
      </table>
           
           


<script>
    setTimeout("window.location.reload()", 5000)
</script>